.thinking-renderer {
  border: 1px solid var(--vscode-panel-border);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--vscode-editorWidget-background);
}

.thinking-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
}

.thinking-header:hover {
  background-color: var(--vscode-list-hoverBackground);
}

.thinking-icon {
  font-size: 14px;
}

.thinking-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--vscode-descriptionForeground);
  flex: 1;
}

.thinking-toggle {
  font-size: 10px;
  color: var(--vscode-descriptionForeground);
}

.thinking-streaming {
  display: flex;
  gap: 3px;
  margin-left: 8px;
}

.thinking-streaming .dot {
  width: 4px;
  height: 4px;
  background-color: var(--vscode-foreground);
  border-radius: 50%;
  opacity: 0.5;
  animation: pulse 1.4s ease-in-out infinite;
}

.thinking-streaming .dot:nth-child(1) {
  animation-delay: 0s;
}

.thinking-streaming .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.thinking-streaming .dot:nth-child(3) {
  animation-delay: 0.4s;
}

.thinking-content {
  padding: 12px;
  border-top: 1px solid var(--vscode-panel-border);
  font-size: 13px;
  line-height: 1.6;
  color: var(--vscode-foreground);
  max-height: 300px;
  overflow: auto;
}

.thinking-content p {
  margin: 0 0 8px 0;
}

.thinking-content p:last-child {
  margin-bottom: 0;
}

.thinking-preview {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--vscode-descriptionForeground);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes pulse {
  0%, 80%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}

